
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>chapter1 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.2">
        
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="chapter2.html" />
    
    
    <link rel="prev" href="./" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.2" data-path="chapter1.html">
            
                <a href="chapter1.html">
            
                    
                    chapter1
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="chapter2.html">
            
                <a href="chapter2.html">
            
                    
                    chapter2
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="chapter3.html">
            
                <a href="chapter3.html">
            
                    
                    chapter3
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="chapter4.html">
            
                <a href="chapter4.html">
            
                    
                    chapter4
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="chapter5.html">
            
                <a href="chapter5.html">
            
                    
                    chapter5
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >chapter1</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x73AF;&#x5883;&#x642D;&#x5EFA;">&#x73AF;&#x5883;&#x642D;&#x5EFA;</h1>
<ol>
<li><p><strong>&#x51C6;&#x5907;</strong></p>
<p>&#x67E5;&#x770B;goPath</p>
<p>$ echo $GOPATH</p>
<p>/Users/didi/goLang</p>
</li>
<li><p>&#x83B7;&#x53D6;&#x6E90;&#x7801;</p>
<pre><code>git clone https://github.com/golang/go
</code></pre></li>
<li><p>&#x67E5;&#x770B;&#x6E90;&#x7801;&#x76EE;&#x5F55;&#x7ED3;&#x6784;</p>
<pre><code> find . -print \| sed -e &apos;s;\[^/\]\*/;\|\_\_\_\_;g;s;\_\_\_\_\|; \|;g&apos;
</code></pre><p>&#x6587;&#x4EF6;&#x5939;</p>
</li>
</ol>
<table>
<thead>
<tr>
<th style="text-align:left"></th>
<th style="text-align:left">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left"><a href="https://github.com/golang/go/tree/release-branch.go1.4/src/cmd" target="_blank">/src/cmd/</a></td>
<td style="text-align:left">&#x5305;&#x542B;&#x4E0D;&#x540C;&#x7684;&#x547D;&#x4EE4;&#x884C;&#x5DE5;&#x5177;&#x3002;</td>
</tr>
<tr>
<td style="text-align:left"><a href="https://github.com/golang/go/tree/release-branch.go1.4/src/cmd/go" target="_blank">/src/cmd/go/</a></td>
<td style="text-align:left">&#x8BE5;&#x76EE;&#x5F55;&#x4E0B;&#x5305;&#x542B;&#x4E00;&#x4E2A; Go &#x5DE5;&#x5177;&#x7684;&#x6E90;&#x4EE3;&#x7801;&#x6587;&#x4EF6;&#x3002;&#x6B64;&#x5DE5;&#x5177;&#x7528;&#x4E8E;&#x4E0B;&#x8F7D;&#x7F16;&#x8BD1; Go &#x7684;&#x6E90;&#x6587;&#x4EF6;&#xFF0C;&#x4EE5;&#x53CA;&#x5B89;&#x88C5; Go &#x8BED;&#x8A00;&#x7684;&#x5305;&#x3002;&#x5728;&#x5B8C;&#x6210;&#x4E0A;&#x8FF0;&#x5DE5;&#x4F5C;&#x4E2D;&#xFF0C;&#x5B83;&#x4F1A;&#x6536;&#x96C6;&#x6240;&#x6709;&#x6E90;&#x6587;&#x4EF6;&#x5E76;&#x8C03;&#x7528; Go &#x94FE;&#x63A5;&#x5668;&#x4E0E;&#x7F16;&#x8BD1;&#x5668;&#x3002;</td>
</tr>
<tr>
<td style="text-align:left"><a href="https://github.com/golang/go/tree/release-branch.go1.4/src/cmd/dist" target="_blank">/src/cmd/dist/</a></td>
<td style="text-align:left">&#x6B64;&#x76EE;&#x5F55;&#x4E0B;&#x4E5F;&#x5305;&#x542B;&#x4E00;&#x4E2A;&#x5DE5;&#x5177;&#x3002;&#x6B64;&#x5DE5;&#x5177;&#x7528;&#x4E8E;&#x7F16;&#x8BD1;&#x751F;&#x6210;&#x6240;&#x6709;&#x5176;&#x5B83;&#x547D;&#x4EE4;&#x884C;&#x5DE5;&#x5177;&#x3002;&#x540C;&#x65F6;&#xFF0C;&#x5B83;&#x4F1A;&#x7531;&#x6807;&#x51C6;&#x5E93;&#x751F;&#x6210;&#x6240;&#x6709;&#x7684;&#x5305;&#x3002;&#x8981;&#x60F3;&#x641E;&#x660E;&#x767D;&#x6BCF;&#x4E2A;&#x5DE5;&#x5177;&#x6216;&#x8005;&#x5305;&#x5230;&#x5E95;&#x7528;&#x5230;&#x4E86;&#x54EA;&#x4E9B;&#x5E93;&#xFF0C;&#x4F60;&#x5C31;&#x9700;&#x8981;&#x5206;&#x6790;&#x8FD9;&#x91CC;&#x7684;&#x6E90;&#x4EE3;&#x7801;&#x3002;</td>
</tr>
<tr>
<td style="text-align:left"><a href="https://github.com/golang/go/tree/release-branch.go1.4/src/cmd/gc" target="_blank">/src/cmd/gc/</a></td>
<td style="text-align:left">&#x5305;&#x542B; Go &#x7F16;&#x8BD1;&#x5668;&#x4E0E;&#x7CFB;&#x7EDF;&#x67B6;&#x6784;&#x65E0;&#x5173;&#x7684;&#x90E8;&#x5206;&#x3002;</td>
</tr>
<tr>
<td style="text-align:left"><a href="https://github.com/golang/go/tree/release-branch.go1.4/src/cmd/ld" target="_blank">/src/cmd/ld/</a></td>
<td style="text-align:left">&#x5305;&#x542B; Go &#x94FE;&#x63A5;&#x5668;&#x4E0E;&#x7CFB;&#x7EDF;&#x67B6;&#x6784;&#x65E0;&#x5173;&#x7684;&#x90E8;&#x5206;&#x3002;&#x4E0E;&#x7CFB;&#x7EDF;&#x67B6;&#x6784;&#x76F8;&#x5173;&#x7684;&#x90E8;&#x5206;&#x88AB;&#x653E;&#x5728;&#x4EE5; l &#x5F00;&#x5934;&#x7684;&#x76EE;&#x5F55;&#x4E2D;&#x3002;&#x8FD9;&#x4E9B;&#x76EE;&#x5F55;&#x7684;&#x547D;&#x540D;&#x89C4;&#x5219;&#x4E0E;&#x7F16;&#x8BD1;&#x5668;&#x90E8;&#x5206;&#x7684;&#x547D;&#x540D;&#x89C4;&#x5219;&#x76F8;&#x540C;&#x3002;</td>
</tr>
<tr>
<td style="text-align:left"><a href="https://github.com/golang/go/tree/release-branch.go1.4/src/cmd/5a" target="_blank">/src/cmd/5a/</a>, 6a, 8a, and 9a</td>
<td style="text-align:left">&#x6B64;&#x76EE;&#x5F55;&#x4E0B;&#x5B58;&#x653E;&#x9488;&#x5BF9;&#x4E0D;&#x540C;&#x67B6;&#x6784;&#x7684; Go &#x8BED;&#x8A00;&#x6C47;&#x7F16;&#x7F16;&#x8BD1;&#x5668;&#x3002;Go &#x6C47;&#x7F16;&#x7A0B;&#x5E8F;&#x7684;&#x8BED;&#x8A00;&#x5E76;&#x4E0D;&#x80FD;&#x4E00;&#x4E00;&#x5BF9;&#x5E94;&#x5730;&#x6620;&#x5C04;&#x5230;&#x4E0B;&#x5C42;&#x673A;&#x5668;&#x7684;&#x6C47;&#x7F16;&#x8BED;&#x8A00;&#x3002;&#x4E0D;&#x8FC7;&#xFF0C;&#x5BF9;&#x4E8E;&#x6BCF;&#x79CD;&#x4E0D;&#x540C;&#x7684;&#x67B6;&#x6784;&#x90FD;&#x5B58;&#x5728;&#x4E00;&#x4E2A;&#x5C06; Go &#x6C47;&#x7F16;&#x7A0B;&#x5E8F;&#x7FFB;&#x8BD1;&#x4E3A;&#x673A;&#x5668;&#x6C47;&#x7F16;&#x7A0B;&#x5E8F;&#x7684;&#x7F16;&#x8BD1;&#x5668;&#x3002;&#x4F60;&#x53EF;&#x4EE5;&#x8FD9;<a href="https://golang.org/doc/asm" target="_blank">&#x8FD9;&#x91CC;</a>&#x627E;&#x5230;&#x66F4;&#x591A;&#x5185;&#x5BB9;&#x3002;</td>
</tr>
<tr>
<td style="text-align:left"><a href="https://github.com/golang/go/tree/release-branch.go1.4/src/lib9" target="_blank">/src/lib9/</a>,<a href="https://github.com/golang/go/tree/release-branch.go1.4/src/libbio" target="_blank">/src/libbio</a>,<a href="https://github.com/golang/go/tree/release-branch.go1.4/src/liblink" target="_blank">/src/liblink</a></td>
<td style="text-align:left">&#x5728;&#x7F16;&#x8BD1;&#x5668;&#x3001;&#x94FE;&#x63A5;&#x5668;&#x3001;&#x4EE5;&#x53CA;&#x8FD0;&#x884C;&#x65F6;&#x4E2D;&#x7528;&#x5230;&#x7684;&#x4E0D;&#x540C;&#x5E93;&#x3002;</td>
</tr>
<tr>
<td style="text-align:left"><a href="https://github.com/golang/go/tree/release-branch.go1.4/src/runtime" target="_blank">/src/runtime/</a></td>
<td style="text-align:left">&#x8FD9;&#x90E8;&#x5206;&#x5305;&#x542B;&#x4E86; Go &#x8BED;&#x8A00;&#x6700;&#x91CD;&#x8981;&#x7684;&#x5305;&#xFF0C;&#x6240;&#x6709;&#x7A0B;&#x5E8F;&#x90FD;&#x9ED8;&#x8BA4;&#x5BFC;&#x5165;&#x8FD9;&#x4E9B;&#x5305;&#x3002;&#x5176;&#x4E2D;&#x5305;&#x62EC;&#x6240;&#x6709;&#x7684;&#x8FD0;&#x884C;&#x65F6;&#x529F;&#x80FD;&#xFF0C;&#x6BD4;&#x5982;&#x5185;&#x5B58;&#x7BA1;&#x7406;&#x3001;&#x5783;&#x573E;&#x56DE;&#x6536;&#x3001;Go &#x534F;&#x7A0B;&#xFF08;goroutine&#xFF09;&#x7B49;&#x7B49;&#x3002;</td>
</tr>
</tbody>
</table>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="./" class="navigation navigation-prev " aria-label="Previous page: Introduction">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="chapter2.html" class="navigation navigation-next " aria-label="Next page: chapter2">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"chapter1","level":"1.2","depth":1,"next":{"title":"chapter2","level":"1.3","depth":1,"path":"chapter2.md","ref":"chapter2.md","articles":[]},"previous":{"title":"Introduction","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"chapter1.md","mtime":"2017-04-24T12:37:37.000Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-04-24T12:46:36.957Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

